<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
    	<c:forEach items="${originalList}" var="weibo">
								<div class="WB_info">
									<div class="WB_cardtitle_b">
										<span class="type_title">
										<i class="icon icon-chevron-right"></i>
										<a href="#">${weibo.type.typeName }</a>
									</span>

									</div>
									<div class="WB_feed_detail">
										<div class="WB_head">
											<div class="head_pic">
												<a href="#"><img src="http://localhost:8082/serverpath${weibo.user.userHeadpath }" /></a>
											</div>
										</div>
										<div class="WB_detail">
											<div class="WB_info_head">
												<a href="#">${weibo.user.userName }</a>
											</div>
											<div class="WB_from">
												<a href="#">${weibo.weiboTime }</a>
												来自
												<a href="#">${weibo.weiboSource}</a>
											</div>
											<div class="WB_text">
												<c:choose>
												<c:when test="${empty weibo.topic.topicName }">${weibo.weiboContent }</c:when>
												<c:otherwise><a href="#" style="color: #FA7D3C!important;">${weibo.topic.topicName}</a>${weibo.weiboContent }</c:otherwise>
												</c:choose>
											</div>
											<div class="WB_media_wrap">
												<div class="media_box">
													<ul class="media_img">
													<c:forEach items="${weibo.imgList }" var="img">
														<c:choose>
														<c:when test="${empty img.imgPath}"></c:when>
														<c:otherwise>
															<li class="">
																<img src="http://localhost:8082/serverpath${img.imgPath }" />
															</li>
															</c:otherwise>
														</c:choose>
														
													</c:forEach>
													</ul>
												</div>
											</div>

										</div>
									</div>
									<div class="WB_handle">
										<ul class="handle_ul">
											<li>
												<a href="javascript:"><span class="pos">
													
														<span class="pos_line">
															<i class="icon icon-star-empty"></i>
															收藏
														</span>
													</span>
												</a>
											</li>
											<li>
												<a href="javascript:"><span class="pos">
														<span class="pos_line">
															<i class="icon icon-share"></i>
															${weibo.weiboForwardnum }
														</span>
													</span>
												</a>
											</li>
											<li>
												<a href="javascript:"><span class="pos">
														<span class="pos_line">
															<i class="icon icon-chat-dot"></i>
															${weibo.weiboCommentnum }
														</span>
													</span>
												</a>
											</li>
											<li>
												<a href="javascript:"><span class="pos">
														<span class="pos_line">
															<i class="icon icon-thumbs-up"></i>
															<span>${weibo.weiboZannum }</span>
													</span>
													</span>
												</a>
											</li>
										</ul>
									</div>
								</div>
							</c:forEach>
 	</body>
</html>